﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PanhuaWin
{
    public  class T_VIEW_CIM  
    {
        /// <summary>
        ///
        /// </summary>
        [Key]
        [Display(Name = "guid")]
        [Column(TypeName = "uniqueidentifier")]
        [Required(AllowEmptyStrings = false)]
        public Guid guid { get; set; }

        /// <summary>
        ///说明
        /// </summary>
        [Display(Name = "说明")]
        [MaxLength(1500)]
        [Column(TypeName = "nvarchar(1500)")]
        public string T_GOOD_REMARK { get; set; }

        /// <summary>
        ///质量标准
        /// </summary>
        [Display(Name = "质量标准")]
        [MaxLength(3000)]
        [Column(TypeName = "nvarchar(3000)")]
        public string T_QUALITY_STAND { get; set; }

        /// <summary>
        ///状态编码
        /// </summary>
        [Display(Name = "状态编码")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string T_GOOD_STATUE_CODE { get; set; }

        /// <summary>
        ///状态
        /// </summary>
        [Display(Name = "状态")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string T_GOOD_STATUE { get; set; }

        /// <summary>
        ///是否我方商品
        /// </summary>
        [Display(Name = "是否我方商品")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string T_IS_GOOD { get; set; }

        /// <summary>
        ///不含税单价
        /// </summary>
        [Display(Name = "不含税单价")]
        [MaxLength(500)]
        [Column(TypeName = "nvarchar(500)")]
        public string EXP1 { get; set; }

        /// <summary>
        ///单价单位编码
        /// </summary>
        [Display(Name = "单价单位编码")]
        [MaxLength(100)]
        [Column(TypeName = "nvarchar(100)")]
        public string T_GOOD_PRICE_UNIT_CODE { get; set; }

        /// <summary>
        ///单价单位
        /// </summary>
        [Display(Name = "单价单位")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string T_GOOD_PRICE_UNIT { get; set; }

        /// <summary>
        ///保质期单位
        /// </summary>
        [Display(Name = "保质期单位")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string T_QUALITY_UNIT { get; set; }

        /// <summary>
        ///创建日期
        /// </summary>
        [Display(Name = "创建日期")]
        [Column(TypeName = "smalldatetime")]
        public DateTime? T_CREATE_DATE { get; set; }

        /// <summary>
        ///保质期
        /// </summary>
        [Display(Name = "保质期")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string T_QUALITY { get; set; }

        /// <summary>
        ///辅计量单位
        /// </summary>
        [Display(Name = "辅计量单位")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string T_PRICE_BASE { get; set; }

        /// <summary>
        ///汇率
        /// </summary>
        [Display(Name = "汇率")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string T_EXC_RATE { get; set; }

        /// <summary>
        ///单价
        /// </summary>
        [Display(Name = "单价")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string T_GOOD_PRICE_CUR { get; set; }

        /// <summary>
        ///计量单位
        /// </summary>
        [Display(Name = "计量单位")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string T_GOOD_UNIT { get; set; }

        /// <summary>
        ///规格型号
        /// </summary>
        [Display(Name = "规格型号")]
        [MaxLength(100)]
        [Column(TypeName = "nvarchar(100)")]
        public string T_GOOD_MODEL { get; set; }

        /// <summary>
        ///类别编码
        /// </summary>
        [Display(Name = "类别编码")]
        [MaxLength(100)]
        [Column(TypeName = "nvarchar(100)")]
        public string T_GOOD_TYPE_CODE { get; set; }

        /// <summary>
        ///类别
        /// </summary>
        [Display(Name = "类别")]
        [MaxLength(100)]
        [Column(TypeName = "nvarchar(100)")]
        public string T_GOOD_TYPE { get; set; }

        /// <summary>
        ///物料编码
        /// </summary>
        [Display(Name = "物料编码")]
        [MaxLength(100)]
        [Column(TypeName = "nvarchar(100)")]
        public string T_GOOD_CODE { get; set; }

        /// <summary>
        ///物料名称
        /// </summary>
        [Display(Name = "物料名称")]
        [MaxLength(100)]
        [Column(TypeName = "nvarchar(100)")]
        public string T_GOOD_NAME { get; set; }

        /// <summary>
        ///单价
        /// </summary>
        [Display(Name = "单价")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string T_GOOD_TAX_RATE { get; set; }

        /// <summary>
        ///更新日期
        /// </summary>
        [Display(Name = "更新日期")]
        [Column(TypeName = "smalldatetime")]
        public DateTime? T_UPDATE_DATE { get; set; }
        /// <summary>
        ///
        /// </summary>
        [Display(Name = "EXP4")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string EXP4 { get; set; }

    }
}
